package day06;

public class ArrayDemo {
    public static void main(String[] args) {
        int[] a = {100, 200, 300, 400, 500};
        int[] b = new int[6];
        System.arraycopy(a, 0, b, 0, 5);
        for (int i = 0; i < b.length; i++) {
            System.out.println(b[i]);
        }
    }
}
